package com.lins.common.common.enums;

/**
 * @author Administrator
 * @title: CommonEnum
 * @projectName lins
 * @description: 通用枚举
 * @date 2021/12/17 13:48
 */
public enum CommonEnum {
    ENABLE_YES("1", "是"),
    ENABLE_NO("0", "否"),
    HIDDEN_YES("1", "隐藏"),
    HIDDEN_NO("0", "不隐藏"),
    MENU_TYPE_SYSTEM("1", "系统"),
    MENU_TYPE_MODULE("2", "模块"),
    MENU_TYPE_MENU("3", "菜单"),
    MENU_TYPE_BUTTON("4", "组件"),
    MENU_TYPE_INTERFACE("5", "因子"),
    SEX_MALE("0", "男"),
    SEX_FEMALE("1", "女"),
    LOCK_YES("1", "是"),
    LOCK_NO("0", "否"),
    DEL_YES("1", "是"),
    DEL_NO("0", "否"),
    RESULT_SAVE("1", "待提交"),
    RESULT_LOADING("2", "处理中"),
    RESULT_OK("3", "成功"),
    RESULT_FAILED("4", "失败"),
    USABLE("1","可用"),
    DISABLE("0","禁用");
    private String code;
    private String msg;

    CommonEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
